package cn.iocoder.yudao.module.reservation.controller.admin.employee.vo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 店员新增/修改 Request VO")
@Data
public class EmployeeSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "18181")
    private Long id;

    @Schema(description = "店铺id", example = "20840")
    private Long storeId;

    @Schema(description = "店员编号")
    private String code;

    @Schema(description = "姓名", example = "李四")
    private String name;

    @Schema(description = "性别")
    private Integer gender;

    @Schema(description = "出生日期")
    private LocalDateTime birthday;

    @Schema(description = "身份证号")
    private String idNumber;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "电子邮箱")
    private String email;

    @Schema(description = "职位")
    private Integer position;

    @Schema(description = "入职时间")
    private LocalDateTime hireDate;

    @Schema(description = "离职时间")
    private LocalDateTime resignDate;

    @Schema(description = "上班状态（0在岗 1离休）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "上班状态（0在岗 1离休）不能为空")
    private Integer status;

}